package io.renren.modules.medical.vo.medicalVo;


import io.renren.common.validator.group.AddGroup;
import io.renren.common.validator.group.UpdateGroup;
import io.renren.modules.medical.entity.VisitRecordEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @author Luo Sheng
 * @school YiBin university
 * @create 2023-05-28 20:37
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class VisitRecordSaveVo extends VisitRecordEntity {
    @NotBlank(message = "随访步骤不能为空", groups = {AddGroup.class, UpdateGroup.class})
    private String visitStep; // 随访步骤

    @NotBlank(message = "第一次随访内容不能为空", groups = {AddGroup.class, UpdateGroup.class})
    private String firstVisitContent; // 第一次随访内容
}
